/* 统一样式配置 */
:root {
  --primary-color: #165DFF;
  --secondary-color: #36CFC9;
  --neutral-100: #F5F5F5;
  --neutral-200: #E5E5E5;
  --neutral-300: #D4D4D4;
  --neutral-400: #A3A3A3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --success-color: #52C41A;
  --warning-color: #FAAD14;
  --danger-color: #FF4D4F;
  --info-color: #1890FF;
}

/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--neutral-100);
  color: var(--neutral-800);
  /* min-h-screen: */
  display: flex;
  flex-direction: column;
}

/* 统一卡片样式 */
.card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(22, 93, 255, 0.1), 0 10px 10px -5px rgba(22, 93, 255, 0.04);
}

/* 统一按钮样式 */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #0E4AC4;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #29AD9B;
}

.btn-neutral {
  background-color: var(--neutral-200);
  color: var(--neutral-700);
}

.btn-neutral:hover {
  background-color: var(--neutral-300);
}

/* 统一进度条样式 */
.progress-bar {
  height: 0.5rem;
  background-color: var(--neutral-200);
  border-radius: 0.25rem;
  overflow: hidden;
}

.progress-value {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--info-color));
  border-radius: 0.25rem;
}

/* 统一标题样式 */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* 统一动画效果 */
.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* 滚动条隐藏 */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* 渐变背景 */
.gradient-bg {
  background: linear-gradient(to right, var(--primary-color), var(--info-color));
}

/* 响应式导航栏 */
.nav-link {
  @apply inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium transition-colors;
}

.nav-link.inactive {
  @apply border-transparent text-neutral-500 hover:border-neutral-300 hover:text-neutral-700;
}

/* 统一徽章样式 */
.badge {
  @apply px-2.5 py-0.5 rounded-full text-xs font-medium;
}

.badge-primary {
  @apply bg-primary/10 text-primary;
}

.badge-success {
  @apply bg-success/10 text-success;
}

.badge-warning {
  @apply bg-warning/10 text-warning;
}

.badge-danger {
  @apply bg-danger/10 text-danger;
}

.badge-info {
  @apply bg-info/10 text-info;
}

/* 统一进度环样式 */
.progress-ring {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* 统一页脚样式 */
.footer {
  @apply bg-white border-t border-neutral-200 py-6;
}

.footer-content {
  @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex flex-col md:flex-row justify-between items-center;
}

.footer-logo {
  @apply flex items-center mb-4 md:mb-0;
}

.footer-text {
  @apply text-sm text-neutral-500;
}

.footer-links {
  @apply flex space-x-4 mt-4 md:mt-0;
}

.footer-link {
  @apply text-neutral-500 hover:text-primary transition-colors;
}